Adwaita: error labels insensitive & backdrop states
authorJakub Steiner <jimmac@gmail.com>
Mon, 17 Aug 2020 08:00:29 +0000 (10:00 +0200)
committerJakub Steiner <jimmac@gmail.com>
Mon, 17 Aug 2020 08:00:29 +0000 (10:00 +0200)
- address colored labels for the two states

See https://gitlab.gnome.org/GNOME/gtk/-/issues/3063#note_891618

gtk/theme/Adwaita/_common.scss

index 429bd371f03cb1962c2802d9f5aee779c95e53b0..11e14836dfcd9843c0992364ae9d606c79f34f4f 100644 (file)
@@ -178,7 +178,10 @@ label {
     > selection { @extend %selected_items_disabled; }
   }
 
-  &.error { color: $error_color; }
+  &.error {
+   color: $error_color;
+   &:disabled { color: $insensitive_fg_color; }
+  }
 }
 
 .dim-label {